Optimal. Leaf size=89 \[ \frac{c^2 \cos (e+f x) (a \sin (e+f x)+a)^{5/2}}{6 f \sqrt{c-c \sin (e+f x)}}+\frac{c \cos (e+f x) (a \sin (e+f x)+a)^{5/2} \sqrt{c-c \sin (e+f x)}}{4 f} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.17159, antiderivative size = 89, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 30, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.067, Rules used = {2740, 2738} \[ \frac{c^2 \cos (e+f x) (a \sin (e+f x)+a)^{5/2}}{6 f \sqrt{c-c \sin (e+f x)}}+\frac{c \cos (e+f x) (a \sin (e+f x)+a)^{5/2} \sqrt{c-c \sin (e+f x)}}{4 f} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2740
Rule 2738
Rubi steps
\begin{align*} \int (a+a \sin (e+f x))^{5/2} (c-c \sin (e+f x))^{3/2} \, dx &=\frac{c \cos (e+f x) (a+a \sin (e+f x))^{5/2} \sqrt{c-c \sin (e+f x)}}{4 f}+\frac{1}{2} c \int (a+a \sin (e+f x))^{5/2} \sqrt{c-c \sin (e+f x)} \, dx\\ &=\frac{c^2 \cos (e+f x) (a+a \sin (e+f x))^{5/2}}{6 f \sqrt{c-c \sin (e+f x)}}+\frac{c \cos (e+f x) (a+a \sin (e+f x))^{5/2} \sqrt{c-c \sin (e+f x)}}{4 f}\\ \end{align*}
Mathematica [A] time = 0.664354, size = 133, normalized size = 1.49 \[ -\frac{c (\sin (e+f x)-1) (a (\sin (e+f x)+1))^{5/2} \sqrt{c-c \sin (e+f x)} (8 (9 \sin (e+f x)+\sin (3 (e+f x)))-12 \cos (2 (e+f x))-3 \cos (4 (e+f x)))}{96 f \left (\cos \left (\frac{1}{2} (e+f x)\right )-\sin \left (\frac{1}{2} (e+f x)\right )\right )^3 \left (\sin \left (\frac{1}{2} (e+f x)\right )+\cos \left (\frac{1}{2} (e+f x)\right )\right )^5} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.141, size = 90, normalized size = 1. \begin{align*} -{\frac{\sin \left ( fx+e \right ) \left ( -3\, \left ( \cos \left ( fx+e \right ) \right ) ^{4}+ \left ( \cos \left ( fx+e \right ) \right ) ^{2}\sin \left ( fx+e \right ) -4\, \left ( \cos \left ( fx+e \right ) \right ) ^{2}+5\,\sin \left ( fx+e \right ) -5 \right ) }{12\,f \left ( \cos \left ( fx+e \right ) \right ) ^{5}} \left ( -c \left ( -1+\sin \left ( fx+e \right ) \right ) \right ) ^{{\frac{3}{2}}} \left ( a \left ( 1+\sin \left ( fx+e \right ) \right ) \right ) ^{{\frac{5}{2}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (a \sin \left (f x + e\right ) + a\right )}^{\frac{5}{2}}{\left (-c \sin \left (f x + e\right ) + c\right )}^{\frac{3}{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.088, size = 216, normalized size = 2.43 \begin{align*} -\frac{{\left (3 \, a^{2} c \cos \left (f x + e\right )^{4} - 3 \, a^{2} c - 4 \,{\left (a^{2} c \cos \left (f x + e\right )^{2} + 2 \, a^{2} c\right )} \sin \left (f x + e\right )\right )} \sqrt{a \sin \left (f x + e\right ) + a} \sqrt{-c \sin \left (f x + e\right ) + c}}{12 \, f \cos \left (f x + e\right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: TypeError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]